const { baseUrl } = require('./config')
console.log(baseUrl, 'baseUrl')
class Request {
  request(url, data, method) {}
  get({ url, data }) {
    console.log('request GET')
    return this.request(url, data, 'GET')
  }
  post({ url, data }) {
    return this.request(url, data, 'POST')
  }
}
export default new Request()
